package com.k2data.k2app.mapper;

import com.k2data.k2app.domain.Region;
import com.k2data.k2app.mybatis.mapper.K2Mapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author lidong9144@163.com 17-3-15.
 */
@Mapper
@Repository
public interface RegionMapper extends K2Mapper<Region> {

    List<Region> selectProvinceCond();

    List<Region> selectCityCond(Region cond);

    List<Region> selectDistrictCond(Region cond);

    Region selectRegion(Region cond);

}
